package com.example.dqnm.pojo;

import java.util.List;

public class ProductsList {
    private Producttype producttype;
    
    private List<Products> children;

    public ProductsList(Producttype producttype, List<Products> children) {
        this.producttype = producttype;
        this.children = children;
    }

    public ProductsList() {
    }

    public Producttype getProducttype() {
        return producttype;
    }

    public void setProducttype(Producttype producttype) {
        this.producttype = producttype;
    }

    public List<Products> getProducts() {
        return children;
    }

    public void setProducts(List<Products> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "childrenList{" +
                "producttype=" + producttype +
                ", products=" + children +
                '}';
    }
}
